extends Node2D


export var has_Food=false

func _ready():
	
	get_tree().debug_collisions_hint=true
	if Global.tip_action=="去繁殖":
		Global.tip_action="繁殖"
	if Global.tip_action=="繁殖":
		$newer_tip/tip_anim.play("tip_fanzhi")
	pass 
func _on_MakeLittleZhang_body_entered(body):
	if body.name=="kine":
		Global.canMake=true
	pass # Replace with function body.


func _on_MakeLittleZhang_body_exited(body):
	if body.name=="kine":
		Global.canMake=false
	pass # Replace with function body.
#退出蟑螂窝 切换场景到厨房
func _on_newer_tip_exit_to_chufang():
	print_debug("接收到动画播放完成的信号")
# warning-ignore:return_value_discarded
	get_tree().change_scene("res://Scenes/chufang.tscn")
	pass # Replace with function body.
